<?php

namespace App\Common\RedisCache;

use Illuminate\Support\Facades\Log;

class UserCache extends AbstractStringCache
{

    protected static $prefix = 'blog:user:';
    protected static $db     = 0;
    public $expire           = 86400 * 7;
    protected static $json   = true;

    protected static function key(array $parameter): string
    {
        return self::$prefix.implode(':', $parameter);
    }
}